package com.ziyun.pop.modules.otherAccessory.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ziyun.pop.modules.otherAccessory.entity.OtherAccessoryEntity;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 其余附件
 *
 * @author gaosheng
 * @email
 * @date 2018-09-06 09:21:40
 */
@Service("ErpOtherAccessoryDao")
public interface OtherAccessoryDao extends BaseMapper<OtherAccessoryEntity> {

    @Select("SELECT * FROM other_accessory WHERE FIND_IN_SET(id,#{ids});")
    List<OtherAccessoryEntity> getMerchantReceipts(String ids);

}
